package com.gjy.util.encryption.sm;

/**
 * @author gjy
 * @version 1.0
 * @since 2025-07-07 14:23:20
 */
public class SM2KeyPair<U, V> {
    protected U publicKey;
    protected V privateKey;

    public SM2KeyPair(U publicKey, V privateKey) {
        this.publicKey = publicKey;
        this.privateKey = privateKey;
    }

    public U getPublic() {
        return publicKey;
    }

    public V getPrivate() {
        return privateKey;
    }
}